package hr.chus.alfresco.struts2.webscript;

import javax.servlet.http.HttpServletResponseWrapper;

import org.springframework.extensions.webscripts.servlet.WebScriptServletResponse;

/**
 * 
 * @author Jan Čustović (jan.custovic@gmail.com)
 *
 */
public class WebScriptResponseWrapper extends HttpServletResponseWrapper {
    
    WebScriptServletResponse wsResponse;

    public WebScriptResponseWrapper(WebScriptServletResponse response) {
        super(response.getHttpServletResponse());
        this.wsResponse = response;
    }
    
    // Getters & setters
    
    public WebScriptServletResponse getWsResponse() {
        return wsResponse;
    }

}
